package com.indexingsystem.boss.admin.mapper;

import com.indexingsystem.boss.Vo.RefIndexingResVo;
import com.indexingsystem.boss.entity.IdxTaskProduct;
import org.apache.ibatis.annotations.Param;
import org.quartz.SimpleTrigger;

import java.util.List;

public interface IdxTaskProductMapper {
    int deleteByPrimaryKey(String id);

    int insert(IdxTaskProduct record);

    int insertSelective(IdxTaskProduct record);

    IdxTaskProduct selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(IdxTaskProduct record);

    int updateByPrimaryKey(IdxTaskProduct record);


	Integer deleteByIdBatch(List<String> list);

	List<IdxTaskProduct> selectByCondition(List<String>  ids);

	List<IdxTaskProduct> selectProductsByPrimaryKey(String taskProductId);

	List<RefIndexingResVo> getRefIndexingListByTaskIds(List<String> ids);

    List<String> SubTaskUnAssignedProduct(Integer taskId, List<String> ids);

    List<String> getProductIdByTaskId(List<String> taskIds);

    int updateRefIndexingByTaskIds(@Param("ids") List<String> ids, @Param("status") Integer status);

}